import { createRouter, createWebHashHistory } from 'vue-router'
import home from '../pages/home.vue'

 
 
const routes = [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/',
    name: 'index',
    component: home
  },
  {
    path: '/home',
    name: 'home',
    component: home
  },
]
 
const router = createRouter({
  history: createWebHashHistory(),
  routes
})
 
export default router